package com.zwj.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
public class WorkSubmitBo {
    @ApiModelProperty(value = "物理id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "作业ID")
    @TableField("work_id")
    private Long workId;

    @ApiModelProperty(value = "完成时间")
    @TableField("complete_time")
    private String completeTime;

    @ApiModelProperty(value = "作业状态，参见WorkStatus枚举")
    @TableField("work_status")
    private String workStatus;

    @ApiModelProperty(value = "得分")
    @TableField("score")
    private BigDecimal score;

    @ApiModelProperty(value = "答案")
    @TableField("answer_remark")
    private String answerRemark;

    @ApiModelProperty(value = "答案附件地址")
    @TableField("answer_appendix_url")
    private String answerAppendixUrl;

    @ApiModelProperty(value = "是否草稿，参见YesOrNo枚举")
    @TableField("is_draft")
    private String isDraft;

    @ApiModelProperty(value = "学生ID")
    @TableField("student_id")
    private Long studentId;

    @ApiModelProperty(value = "项目组ID")
    @TableField("team_info_id")
    private Long teamInfoId;

    @ApiModelProperty(value = "老师评语")
    @TableField("teacher_remark")
    private String teacherRemark;

    @ApiModelProperty(value = "老师评论附件地址")
    @TableField("teacher_appendix_url")
    private String teacherAppendixUrl;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
